package java56_3;

//电池
public class Battery {
	int vol;// 容量
	String type;// = "锂电池";
	int v;
	String factory;// 厂家

	public void show() {
		System.out.println("厂家" + factory);
		System.out.println("类型是" + type + ",容量是" + vol + "毫安，电压是" + v);
	}
}
